package edu.wpi.first.wpilibj.positioning;

/**
 * A interface which can be hooked on to a {@link PositionHandler} to be notified
 * when the Handler's position is updated.
 * @author Dylan Frese
 */
public interface PositionListener {
    
    /**
     * A method called when the {@link PositionHandler}'s position changes
     * @param roll The new roll
     * @param pitch The new pitch
     * @param yaw The new yaw
     * @param x The new x
     * @param y The new y
     */
    public void update (double roll, double pitch, double yaw, double x, double y);
    
}
